<?php
/**
 * 矿机管理
 */
namespace app\admin\model;
use app\common\model\Mining as MiningModel;

class Mining extends MiningModel
{
    /**
     * 查询所有矿机
     * @return Mining[]|array|\think\Collection
     * @throws \think\db\exception\DataNotFoundException
     * @throws \think\db\exception\DbException
     * @throws \think\db\exception\ModelNotFoundException
     */
    public static function getAll(){
        return self::select();
    }
}